<html>
<p>普通字体<span>12345678</span></p>
<p>oppo字体<span class="oppo_font">12345678</span></p>

</html>
<style>
    @font-face {
        font-family: 'oppo';
        src: url('./OPPOSans.ttf');
    }

    span {
        font-size: 40px;
    }

    /*具体使用*/
    .oppo_font {
        font-family: 'oppo';
    }
</style>